import { FunctionArgs } from "@vueuse/core"

export type CardDetail = {
  uuid: string
}

/** 名片编辑 */
export type CardEdit = {
  success: FunctionArgs
}

/** 名片基本信息 */
export type CardBasicInfo = {
  id?: number
  success: FunctionArgs
}

/** 名片联系方式 */
export type CardContactInfo = {
  success: FunctionArgs
}

/** 名片公司信息 */
export type CardCompanyInfo = {
  success: FunctionArgs
}

/** 名片产品服务 */
export type CardProductService = {
  success: FunctionArgs
  id?: number
}

/** 名片附件文档 */
export type CardAttachmentDocs = {
  success: FunctionArgs
  selectedIds: number[]
}

/** 单位详情 */
export type CompanyDetail = {
  uuid: string
}

/** 产品详情 */
export type ProductDetail = {
  uuid: string
}

/** 选择附件 */
export type AttachmentDocsChoose = {
  success: FunctionArgs
  maxSelectCount: number
}
